<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="./vue2.js"></script>
    </head>
    <body>
        <div id="app">
            <div v-text="name"></div>
            <div v-text="age"></div>
            <div v-text="gender"></div>
            <div></div>
        </div>
        <script>
            var vm = new Vue({
                el: '#app',
                data: {
                    name:'张三',
                    age:"24",
                    gender:"男"
                }
            })
        </script>
    </body>
</html>